home *** CD-ROM | disk | FTP | other *** search
/ Gamers Delight 2 / Gamers Delight 2.iso / Aminet / game / think / MADgic41.lzh / 1990 / XTC.s < prev    next >
Text File  |  1992-03-10  |  2KB  |  55 lines

  1. ;
  2. ;    Warrior: Ecstacy
  3. ;  File name: xtc.red
  4. ; Tournament: ICWST'90
  5. ;   Standard: CWS'88
  6. ;     Author: Stefan Roettger / Sandstrasse 3 / W-8525 Uttenreuth / Germany
  7. ;
  8. ; This warrior was originally designed for core size=8192 but it
  9. ; also runs very well with core size mod 4 = 0 (e.g. 8000).
  10. ; Although it runs under the 1988 standard there are no changes
  11. ; necessary to make it run under 1986 standard.
  12. ; The startegy used by XTC is the following:
  13. ; The warrior compares every fourth core location to zero by
  14. ; incrementing a search pointer by #412. To avoid being hit
  15. ; by itself every fourth instruction has a B-Operand equal to
  16. ; zero. If a supposed foe is found 23 core cells around this foe
  17. ; are set to 'SPL -1 -1' by a simple copy loop. This causes the
  18. ; foe to be slowed down quite well but not yet kills him. If all
  19. ; spawns have been treated like that they are subsequently killed
  20. ; by shooting some deadly 'DAT 0' instructions at them.
  21. ; Empirical studies have shown the the warrior XTC by far outruns
  22. ; nearly all warriors of ICWST 86 and ICWST 88. For example it
  23. ; defeats ferret in 70% and mice in 90% of all cases.
  24. ; The reasons for this are:
  25. ; -XTC is very small cause of tricky programming
  26. ; -XTC's search loop is very very quick
  27. ; -The method by which XTC kills foes is highly reliably.
  28. ; All this makes XTC my warrior of choice. :-)
  29. ; Please start XTC at the label 'loop'.
  30.   
  31. loop  add #412 ptr
  32. ptr   jmz loop trap
  33.       mov ptr  dest
  34. cnt   mov #23  cnt
  35. kill  mov @trap <dest
  36.       djn kill cnt
  37.       jmp loop
  38.       dat 0
  39.       dat 0
  40.       dat 0
  41.       dat 0
  42.       dat 0
  43.       dat 0
  44. dest  dat 0
  45.       dat 0
  46.       dat 0
  47.       dat 0
  48.       dat 0
  49.       dat 0
  50. trap  dat bomb
  51. bomb  spl trap trap
  52.  
  53.  
  54.  
  55.